﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="HL.Lib.MVC.CPViewControl" %>
<%
    var model = ViewBag.Model as ModPropertyModel;
    var entity = ViewBag.Data as ModPropertyEntity;
%>
<form id="hlForm" name="hlForm" method="post">
<input type="hidden" id="_hl_action" name="_hl_action" />
<div id="toolbar-box">
    <div class="t">
        <div class="t">
            <div class="t">
            </div>
        </div>
    </div>
    <div class="m">
        <div class="toolbar-list" id="toolbar">
            <%= GetDefaultAddCommand()%>
        </div>
        <div class="pagetitle icon-48-generic">
            <h2>
                Thuộc tính sản phẩm :
                <%=  model.RecordID > 0 ? "Chỉnh sửa" : "Thêm mới"%></h2>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="b">
        <div class="b">
            <div class="b">
            </div>
        </div>
    </div>
</div>
<div class="clr">
</div>
<%= ShowMessage()%>
<div id="element-box">
    <div class="t">
        <div class="t">
            <div class="t">
            </div>
        </div>
    </div>
    <div class="m">
        <div class="col width-100">
            <table class="admintable">
                <%if (model.RecordID == 0)
                  { %>
                <tr>
                    <td class="key">
                        <label>
                            Thêm nhiều :</label>
                    </td>
                    <td>
                        <textarea class="text_input" style="height: 150px" name="Arrange"><%=model.Arrange%></textarea>
                    </td>
                </tr>
                <%} %>
                <tr>
                    <td class="key">
                        <label>
                            Tên :</label>
                    </td>
                    <td>
                        <input class="text_input" type="text" name="Name" id="Name" value="<%=entity.Name %>"
                            maxlength="255" />
                    </td>
                </tr>
                <%--<tr>
                    <td class="key">
                        Là tiêu chí tìm kiếm
                    </td>
                    <td>
                        <input name="Search" <%= entity.Search ? "checked" : "" %> type="radio" value='1' />
                        Có
                        <input name="Search" <%= !entity.Search ? "checked" : "" %> type="radio" value='0' />
                        Không
                    </td>
                </tr>--%>
            </table>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="b">
        <div class="b">
            <div class="b">
            </div>
        </div>
    </div>
</div>
</form>
